package org.example.mulitithreading.ex12;

/**
 * 作用：控制生产者和消费者的执行
 */
public class Desk {
    public static int foodFlag = 0;

    // 消费者能吃汉堡包的总数量，用于线程结束
    public static int count = 10;

    // 锁对象
    public static final Object lock = new Object();
}
